package com.ttsx.pojo.entity;

import com.ttsx.core.mybatis.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 评论表
 * @author lucky
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Comment extends BaseEntity {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 内容
     */
    private String content;

    /**
     * 评分
     */
    private Integer rating;
}